<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul>
{%for book in list %}
    <li><a href="{{ book.id }}">{{book}}</a></li>

{% endfor %}
</ul>
</body>
</html>